<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>大学生个人网站 - wtify</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        html {
            scroll-behavior: smooth;
        }
        
        body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(120deg, #23243a 0%, #3b4252 100%);
            min-height: 100vh;
            color: #fff;
        }
        
        /* 导航栏样式 */
        .navbar {
            background: #14213d;
            padding: 0 40px;
            display: flex;
            align-items: center;
            height: 60px;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        }
        
        .navbar .nav-menu {
            display: flex;
            gap: 40px;
        }
        
        .navbar .nav-menu a {
            color: #fff;
            text-decoration: none;
            font-size: 1.1rem;
            padding: 8px 0;
            border-bottom: 2px solid transparent;
            transition: border 0.2s, color 0.2s;
        }
        
        .navbar .nav-menu a.active,
        .navbar .nav-menu a:hover {
            border-bottom: 2px solid #fca311;
            color: #fca311;
        }
        
        .navbar .toggle-theme {
            background: #222;
            border: none;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            color: #fca311;
            cursor: pointer;
        }
        
        /* 主要内容区域 */
        .main-content {
            display: flex;
            max-width: 1200px;
            margin: 40px auto 0;
            gap: 40px;
        }
        
        /* 个人信息卡片 */
        .profile-card {
            background: rgba(20, 33, 61, 0.95);
            border-radius: 18px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            padding: 32px 24px;
            width: 320px;
            min-width: 280px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .profile-card img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid #fff;
            margin-bottom: 18px;
        }
        
        .profile-card h2 {
            margin: 0 0 8px 0;
            font-size: 1.5rem;
        }
        
        .profile-card p {
            color: #bfc9d1;
            font-size: 1rem;
            margin-bottom: 16px;
        }
        
        .profile-card .info-list {
            width: 100%;
            margin: 18px 0;
            color: #bfc9d1;
            font-size: 0.95rem;
        }
        
        .profile-card .info-list div {
            margin-bottom: 8px;
        }
        
        .profile-card .contact-btn {
            background: linear-gradient(90deg, #fca311, #ff5e62);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 12px 0;
            width: 100%;
            font-size: 1.1rem;
            cursor: pointer;
            margin-top: 18px;
            transition: background 0.3s;
        }
        
        .profile-card .contact-btn:hover {
            background: linear-gradient(90deg, #ff5e62, #fca311);
        }
        
        /* 右侧内容区域 */
        .right-content {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        /* 英雄区域 */
        .hero-section {
            background: url('【哲风壁纸】斗破苍穹-萧炎.png') center/cover no-repeat;
            border-radius: 18px;
            min-height: 320px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding: 48px 40px;
            margin-bottom: 32px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.15);
        }
        
        .hero-section h1 {
            font-size: 2.8rem;
            color: #fff;
            font-weight: bold;
            margin-bottom: 18px;
            text-shadow: 0 2px 8px #000a;
        }
        
        .hero-section .hero-btn {
            background: none;
            color: #fca311;
            border: 2px solid #fca311;
            border-radius: 24px;
            padding: 12px 32px;
            font-size: 1.1rem;
            cursor: pointer;
            margin-top: 12px;
            text-decoration: underline;
            transition: background 0.3s, color 0.3s;
        }
        
        .hero-section .hero-btn:hover {
            background: #fca311;
            color: #fff;
        }
        
        /* 通用section样式 */
        section {
            margin-bottom: 48px;
            background: rgba(20, 33, 61, 0.95);
            border-radius: 18px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.12);
            padding: 32px 40px;
        }
        
        section h2 {
            color: #fca311;
            margin-bottom: 24px;
            font-size: 2rem;
        }
        
        /* 作业展示区域 */
        .homework-list {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
        }
        
        .homework-item {
            background: #22223b;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
            width: 220px;
            padding: 18px;
            color: #fff;
            margin-bottom: 18px;
            transition: all 0.3s ease;
            height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            align-items: stretch;
        }
        
        .homework-item:hover {
            transform: translateY(-6px) scale(1.03);
            box-shadow: 0 8px 32px rgba(252,163,17,0.18);
        }
        
        /* 作业分组样式 */
        .homework-group {
            margin-bottom: 40px;
            background: rgba(34, 34, 59, 0.3);
            border-radius: 16px;
            padding: 24px;
            border: 1px solid rgba(252, 163, 17, 0.1);
        }
        
        .homework-group h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(252, 163, 17, 0.3);
            position: relative;
        }
        
        .homework-group h3::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: linear-gradient(90deg, #fca311, #ff5e62);
        }
        
        /* 作业卡片图片 */
        .homework-thumb {
            width: 100%;
            height: 110px;
            object-fit: cover;
            border-radius: 8px 8px 0 0;
            background: #181c2a;
            display: block;
        }
        
        .homework-card-content {
            padding: 12px 10px 10px 10px;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .homework-card-content h4 {
            margin: 0 0 8px 0;
            color: #fca311;
            font-size: 1.1rem;
        }
        
        .homework-card-content p {
            margin: 0 0 12px 0;
            color: #bfc9d1;
            font-size: 0.9rem;
        }
        
        /* 预览按钮 */
        .preview-btn {
            margin-top: auto;
            background: linear-gradient(90deg, #fca311, #ff5e62);
            color: #fff;
            border: none;
            border-radius: 6px;
            padding: 8px 16px;
            font-size: 0.9em;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            align-self: flex-start;
        }
        
        .preview-btn:hover {
            background: linear-gradient(90deg, #ff5e62, #fca311);
            transform: translateY(-2px) scale(1.04);
        }
        
        /* 游戏娱乐、观看影视 */
        .media-list {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
        }
        
        .media-card {
            background: #22223b;
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.12);
            width: 220px;
            padding: 18px;
            color: #fff;
            margin-bottom: 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.2s;
        }
        
        .media-card img {
            width: 180px;
            height: 100px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 10px;
        }
        
        .media-card:hover {
            transform: translateY(-6px) scale(1.03);
        }
        
        /* 个人博客 */
        .blog-list {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }
        
        .blog-item {
            background: #22223b;
            border-radius: 10px;
            padding: 16px 20px;
            color: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: background 0.2s;
        }
        
        .blog-item:hover {
            background: #2a2a4a;
        }
        
        .blog-item h3 {
            margin: 0 0 8px 0;
            color: #fca311;
        }
        
        /* 响应式设计 */
        @media (max-width: 900px) {
            .main-content {
                flex-direction: column;
                align-items: center;
            }
            
            .profile-card {
                width: 90vw;
                margin-bottom: 32px;
            }
            
            .right-content {
                width: 100%;
            }
            
            section {
                padding: 24px 10px;
            }
        }
        
        /* 分组详情按钮 */
        .group-detail-btn {
            background: linear-gradient(135deg, #1a73e8, #0d47a1);
            color: #fff;
            text-decoration: none;
            border-radius: 20px;
            padding: 8px 16px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .group-detail-btn:hover {
            background: linear-gradient(135deg, #0d47a1, #1a73e8);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
        }
    </style>
</head>
<body>
    <div class="navbar">
        <div class="nav-menu">
            <a href="#home" class="active">首页</a>
            <a href="#homework">作业展示</a>
            <a href="#games">游戏娱乐</a>
            <a href="#blog">个人博客</a>
            <a href="#movies">观看影视</a>
        </div>
        <button class="toggle-theme"><i class="fa fa-moon"></i></button>
    </div>
    <div class="main-content" id="home">
        <div class="profile-card">
            <img src="微信图片_20250627164848.jpg" alt="头像" >
            <h2>wtify的个人简历</h2>
            <p>梦想就像星辰！</p>
            <div class="info-list">
                <div>院校：顺德职业技术学院</div>
                <div>所在城市：广东 佛山</div>
                <div>年级：24软件技术</div>
            </div>
            <button class="contact-btn">联系我</button>
        </div>
        <div class="right-content">
            <div class="hero-section">
                <h1>Great minds have purpose</h1>
                <a href="#homework" class="hero-btn">了解下这些项目吧</a>
            </div>
        </div>
    </div>
    <section id="homework">
        <h2>作业展示</h2>
        <div class="homework-group">
            <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
                <h3 style="color:#fca311;">HTML</h3>
                <a href="#" class="group-detail-btn">查看详情</a>
            </div>
            <div class="homework-list">
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/html-5--v1.png" alt="HTML作业">
                    <div class="homework-card-content">
                        <h4>html作业1</h4>
                        <p>html综合1</p>
                        <a href="html作业\汇总.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="homework-group">
            <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
                <h3 style="color:#fca311;">CSS</h3>
                <a href="#css-detail" class="group-detail-btn">查看详情</a>
            </div>
            <div class="homework-list">
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/css3.png" alt="CSS作业">
                    <div class="homework-card-content">
                        <h4>css作业1</h4>
                        <p>css综合1</p>
                        <a href="css作业1\汇总.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/css3.png" alt="CSS作业">
                    <div class="homework-card-content">
                        <h4>css作业2</h4>
                        <p>css作业2</p>
                        <a href="css作业2\index.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="homework-group">
            <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
                <h3 style="color:#fca311;">JavaScript</h3>
                <a href="#js-detail" class="group-detail-btn">查看详情</a>
            </div>
            <div class="homework-list">
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/javascript--v1.png" alt="JS作业">
                    <div class="homework-card-content">
                        <h4>js作业1</h4>
                        <p>js综合1</p>
                        <a href="计算器与时钟\kkk.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/javascript--v1.png" alt="JS作业">
                    <div class="homework-card-content">
                        <h4>js作业2</h4>
                        <p>js综合2</p>
                        <a href="天气预报\WENJIAN.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/javascript--v1.png" alt="JS作业">
                    <div class="homework-card-content">
                        <h4>js作业3</h4>
                        <p>js综合3</p>
                        <a href="音乐\eee.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/javascript--v1.png" alt="JS作业">
                    <div class="homework-card-content">
                        <h4>js作业4</h4>
                        <p>js综合4</p>
                        <a href="轮播图与待办列表\index.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
                <div class="homework-item">
                    <img class="homework-thumb" src="https://img.icons8.com/color/96/000000/javascript--v1.png" alt="JS作业">
                    <div class="homework-card-content">
                        <h4>js作业5</h4>
                        <p>js综合5</p>
                        <a href="网页小游戏\index.html" class="preview-btn">查看详情</a>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- 作业详情弹窗 -->
<div id="homeworkModal" style="display:none;position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000a;z-index:999;align-items:center;justify-content:center;">
    <div style="background:#23243a;padding:24px;border-radius:12px;min-width:320px;max-width:90vw;max-height:90vh;overflow:auto;">
        <h3 id="modalTitle" style="color:#fca311;"></h3>
        <div id="modalDesc" style="color:#fff;margin-bottom:10px;"></div>
        <pre id="modalCode" style="background:#181c2a;border-radius:8px;padding:12px;overflow-x:auto;color:#fff;"></pre>
        <div style="text-align:right;">
            <button onclick="closeHomeworkModal()">关闭</button>
        </div>
    </div>
</div>
    <section id="games">
        <h2>游戏娱乐</h2>
        <div class="media-list">
            <div class="media-card">
                <img src="微信图片_20250626181802.jpg" alt="三角洲" style="width: 120%; height: 100%;">
                <h3>三角洲</h3>
                <p>射击游戏，紧张刺激，好友开黑。交战、搜索，搞定就撤！</p>
            </div>
            <div class="media-card">
                <img src="微信图片_20250626182820.jpg" alt="金铲铲之战" style="width: 120%; height: 100%;">
                <h3>金铲铲之战</h3>
                <p>自走棋游戏，策略性强，玩法多样。登顶！赛博城市！</p>
            </div>
            <div class="media-card">
                <img src="微信图片_20250626183216.jpg" alt="cpunterstrike" style="width: 120%; height: 100%;">
                <h3>counter strike-2</h3>
                <p>射击游戏，紧张刺激，好友开黑。</p>
            </div>
        </div>
    </section>
    <section id="blog">
        <h2>个人博客</h2>
        <div class="blog-list">
            <div class="blog-item">
                <h3>如何高效学习编程</h3>
                <p>分享我的编程学习经验和方法，适合初学者。</p>
                <a href="https://blog.csdn.net/wtify/article/details/148980463?spm=1001.2014.3001.5501" class="preview-btn">查看详情</a>
            </div>
            <div class="blog-item">
                <h3>大学生活的自我管理</h3>
                <p>时间管理、目标设定、兴趣培养的心得体会。</p>
            </div>
            <div class="blog-item">
                <h3>技术成长之路</h3>
                <p>记录我的技术成长历程和遇到的挑战。</p>
            </div>
        </div>
    </section>
    <section id="movies">
        <h2>观看影视</h2>
        <div class="media-list">
            <div class="media-card">
                <img src="微信图片_20250626183734.jpg" alt="肖申克的救赎" style="width: 120%; height: 100%;">
                <h3>肖申克的救赎</h3>
                <p>经典励志电影，讲述希望与自由。</p>
            </div>
            <div class="media-card">
                <img src="微信图片_20250626183723.jpg" alt="流浪地球" style="width: 120%; height: 100%;">
                <h3>流浪地球</h3>
                <p>国产科幻大片，视觉震撼，情感真挚。</p>
            </div>
            <div class="media-card">
                <img src="微信图片_20250626183729.jpg" alt="你的名字" style="width: 120%; height: 100%;">
                <h3>你的名字</h3>
                <p>唯美动画电影，青春与奇幻的交织。</p>
            </div>
        </div>
    </section>
    <script>
        // 导航栏高亮
        const navLinks = document.querySelectorAll('.nav-menu a');
        window.addEventListener('scroll', () => {
            let fromTop = window.scrollY + 70;
            navLinks.forEach(link => {
                let section = document.querySelector(link.getAttribute('href'));
                if (section && section.offsetTop <= fromTop && section.offsetTop + section.offsetHeight > fromTop) {
                    navLinks.forEach(l => l.classList.remove('active'));
                    link.classList.add('active');
                }
            });
        });
    </script>
    <script>
        const homeworkData = [
            {
                title: "HTML 个人主页",
                desc: "响应式个人主页页面设计。",
                code: `<!DOCTYPE html>
        <html lang="zh-CN">
          <head>
            <meta charset="UTF-8">
            <title>我的主页</title>
          </head>
          <body>Hello, world!</body>
        </html>`
            },
            {
                title: "Python 数据分析",
                desc: "用Pandas和Matplotlib分析数据集。",
                code: `import pandas as pd
        df = pd.read_csv('data.csv')
        print(df.mean())`
            },
            {
                title: "小程序开发",
                desc: "基于微信小程序的校园助手。",
                code: `// app.js
        App({
          onLaunch: function () {
            // 小程序初始化
          }
        })`
            },
            {
                title: "数据库课程设计",
                desc: "学生信息管理系统。",
                code: `CREATE TABLE students (
          id INT PRIMARY KEY,
          name VARCHAR(50),
          age INT
        );`
            }
        ];
        
        function showHomeworkDetail(idx) {
            document.getElementById('modalTitle').innerText = homeworkData[idx].title;
            document.getElementById('modalDesc').innerText = homeworkData[idx].desc;
            document.getElementById('modalCode').textContent = homeworkData[idx].code;
            document.getElementById('homeworkModal').style.display = 'flex';
        }
        function closeHomeworkModal() {
            document.getElementById('homeworkModal').style.display = 'none';
        }
        </script>
</body>
</html>